﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Yule8xWechat.Test.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>模拟测试流程</title>
    <style type="text/css">
        a {
            display: block;
            color: #333;
            text-decoration: none;
        }

        body {
            padding: 10px;
            font-size: 1rem;
            line-height: 2rem;
        }

        fieldset {
            margin-top: 10px;
        }

        legend a {
            font-size: 1rem;
        }

        input {
            font-size: 1rem;
        }
    </style>
</head>
<body>
    <script src="../Skin/Theme/Js/jquery_2.1.3.js" type="text/javascript" charset="utf-8"></script>
    <form id="form1" runat="server">
        <div>
            <div>代理ID：<input type="text" runat="server" id="tb_uid" /><asp:Button runat="server" ID="btnSetting" OnClick="btnSetting_Click" Text="设置" /></div>
            <% if (parent1_uid > 0)
                {
                    Response.Write(string.Format("<div>上级ID: {0}, 上上级ID: {1}, 顶级代理ID: {2}/{3}</div>", parent1_uid, parent2_uid, top_agent_id, top_agent_user_id));
                } %>
            <div style="width: 300px">
                <fieldset>
                    <legend><a href="#">[-]</a></legend>
                    <div>
                        <a href="BuyDiamond.aspx?user_id=<%=user_id %>" target="_blank">购买钻石</a>
                        <a href="../Payment/WxPay/BuyCard.aspx?user_id=<%=user_id %>" target="_blank">购买钻石(真实)</a>
                        <a href="AgentRegist.aspx?user_id=<%=user_id %>" target="_blank">注册成为代理</a>
                        <a href="../Payment/WxPay/AgentRegistion.aspx?user_id=<%=user_id %>" target="_blank">注册成为代理(真实)</a>
                    </div>
                </fieldset>
                <fieldset>
                    <legend><a href="#">[-]</a></legend>
                    <div>
                        <a href="../Agent/Index.aspx?user_id=<%=user_id %>" target="_blank">代理首页</a>
                        <a href="../Agent/UserIndex.aspx?user_id=<%=user_id %>" target="_blank">用户首页</a>
                        <a href="../Agent/Child1Agent.aspx?user_id=<%=user_id %>" target="_blank">1级代理详情</a>
                        <a href="../Agent/Child2Agent.aspx?user_id=<%=user_id %>" target="_blank">2级代理详情</a>
                        <a href="../Income/Default.aspx?user_id=<%=user_id %>" target="_blank">收入首页</a>
                        <a href="../Income/DailyHistory.aspx?user_id=<%=user_id %>" target="_blank"><strong>收入详情</strong></a>
                        <a href="../Recharge/History.aspx?user_id=<%=user_id %>" target="_blank"><strong>充值详情</strong></a>
                        <a href="../Dimond/History.aspx?user_id=<%=user_id %>" target="_blank"><strong>钻石详情</strong></a>
                        <a href="../Agent/ChildUser.aspx?user_id=<%=user_id %>" target="_blank">推广详情</a>
                        <a href="DailyGetDiamond.aspx?user_id=<%=user_id %>" target="_blank">免费领钻</a>
                        <a href="../Promotion/GetFreeDiamond.aspx?user_id=<%=user_id %>" target="_blank">免费领钻（真实）</a>
                        <a href="../Dimond/DimondTransfer.aspx?user_id=<%=user_id %>" target="_blank">钻石转入游戏</a>
                    </div>
                </fieldset>
                <fieldset>
                    <legend><a href="#">[-]</a></legend>
                    <div>
                        <a href="Subscribe.aspx?user_id=<%=user_id %>" target="_blank">模拟关注公众号</a>
                        <a href="UpdateUserInfo.aspx?user_id=<%=user_id %>" target="_blank">模拟更新用户资料</a>
                        <a href="Subscribe.aspx?action=onekey" target="_blank">一键生成用户</a>
                    </div>
                </fieldset>
                <a href="../LogView.aspx" target="_blank">查看日志</a>
                <a href="../DbView.aspx" target="_blank">查看数据</a>
                <a href="../Other/DebugTool.aspx" target="_blank">Debug工具</a>
                <a href="../Other/WxTest.aspx" target="_blank">微信测试</a>
                <a href="../Other/NickNames.aspx" target="_blank">昵称数据</a>
            </div>
        </div>
    </form>
    <script>
        $('legend a').click(function () {
            $('legend a').text('[+]');
            $('fieldset div').hide();
            $(this).text('[-]').parent().next().show();
            return false;
        })
    </script>
</body>
</html>
